package edpool;

public class ExchangerState<T>
{
	private ExchangerStateEnum state;
	private T value;
	private PackageTypeEnum packageType;
	
	public ExchangerState(ExchangerStateEnum state, T value, PackageTypeEnum packageType)
	{
		this.state = state;
		this.value = value;
		this.packageType = packageType;
	}
	
	ExchangerStateEnum getState()
	{
		return state;
	}
	
	T getValue()
	{
		return value;
	}
	
	PackageTypeEnum getPackageType()
	{
		return packageType;
	}
	
}
